const Request = require('../../request');



export function login(data){
    return Request({
        url: 'Login/login',
        method: 'POST',
        data: data
    })
}


export function getUnit() {
    return Request({
        url: 'Login/unit',
        method: 'GET'
    })
}

export function getPersonalByUserNumber(){
    return Request({
        url: 'api/user/personal',
        method: 'GET'
    })
}